/*
 * MikoPBX - free phone system for small business
 * Copyright © 2017-2024 Alexey Portnov and Nikolay Beketov
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along with this program.
 * If not, see <https://www.gnu.org/licenses/>.
 */

/* Angled headers on AMI page */
th.ami-category {
    height: 28px;
    white-space: nowrap;
}

th.ami-category > div {
    transform: /* Magic Numbers */ translate(16px, 14px) /* 45 is really 360 - 45 */ rotate(315deg);
    width: 20px;
}

th.ami-category > div > span {
    border-bottom: 1px solid #ccc;
    padding: 6px 1px;
    font-size: 0.9rem;
    display: inline-block;
    min-width: 65px;
}

#ami-table tbody > tr {
    background: white;
}

#ami-table tbody > tr > td {
    padding: 0.5em 0.5em;
}

#ami-table tbody > tr > td.marks {
    border-right: 1px solid rgba(34, 36, 38, .15);
}

#ami-table tbody > tr > td:first-child {
    border-right: 1px solid rgba(34, 36, 38, .15);
    border-left: 1px solid rgba(34, 36, 38, .15);
}

#ami-table tbody > tr > td:last-child {
    border-right: 1px solid rgba(34, 36, 38, .15);
}

#ami-table tbody > tr:last-child > td {
    border-bottom: 1px solid rgba(34, 36, 38, .15);
}